home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
050
/
madtrb8.arc
/
INKEY.INC
< prev
next >
Wrap
Text File
|
1985-02-23
|
314b
|
16 lines
type
regpack = record
ax,bx,cx,dx,bp,si,di,ds,es,flags: integer;
end;
ctype = char;
Var
R : regpack;
a,ch : char;
function inkey : ctype;
begin
r.ax := $7 shl 8;
msdos(R);
inkey := chr((r.ax) and 255);
end;